package com.techfengs.chapter03;

public class Boolean01 {
  public static void main (String[] args) {
    // 判断成绩是否通过
    boolean bPass = false;
    if ( bPass == true ) {
      System.out.println("恭喜，考试通过");
    } else {
      System.out.println("考试没有通过，下次努力");
    }
  }
}
